package com.glela.live.messages;

import com.glela.live.util.GsonUtil;

public class ChatRoomDateMessage extends BaseMessage{

    private int userNum;

    private int zNum;

    private User user = new User("-1","-1","");

    public int getUserNum() {
        return userNum;
    }

    public void setUserNum(int userNum) {
        this.userNum = userNum;
    }

    public int getzNum() {
        return zNum;
    }

    public void setzNum(int zNum) {
        this.zNum = zNum;
    }

    public User getUser() {
        return user;
    }

    private transient static final String TYPE = "XP:CRoomDateMsg";
    @Override
    public String getType() {
        return TYPE;
    }

    private int showFlag=0;

    public int getShowFlag() {
        return showFlag;
    }

    public ChatRoomDateMessage(int userNum,int zNum){
        this.userNum = userNum;
        this.zNum = zNum;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, ChatRoomDateMessage.class);
    }
}
